package cn.com.lms.business.examRewrite.persistence.entity;

import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@Table(name = "bnz_exam_question")
@Schema(description="题库")
public class QuestionReWriteVo extends BaseEntity {

    @Schema(description="题库名称")
    @Column(name = "question_name")
    private String questionName;

    @Schema(description="所属分类ID")
    @Column(name = "category_id")
    private Long categoryId;

    @Schema(description="所属分类名称")
    @Column(name = "category_name")
    private String categoryName="根分类";

    @Schema(description="是否私密试卷 0-否  1-是")
    @Column(name = "is_private")
    private Boolean isPrivate;


    @Schema(description="是否删除  0-未删除 1-已删除")
    @Column(name = "is_delete")
    private Boolean isDelete;

    @Schema(description="试题数量")
    private Integer count;

    @Schema(description="单选题数量")
    private Integer singleCount;


    @Schema(description="多选题数量")
    private Integer multipleCount;

    @Schema(description="判断题数量")
    private Integer judgeCount;

    @Schema(description="填空题数量")
    private Integer fillCount;

    @Schema(description="解答题数量")
    private Integer explainCount;





}